package com.sgzn.sgpay.service;

import com.sgzn.sgpay.model.request.SgsMchWithdrawQueryPageRequest;
import com.sgzn.sgpay.model.request.SgsWithdrawRequest;
import com.sgzn.sgpay.model.response.SgsResultResponse;
import com.sgzn.sgpay.model.response.result.MchWithdrawQueryPageResult;

import java.util.Map;

/**
 * Created by xxjs-gd-llf
 * DATETIME:2018/5/23 22:14
 * Description:企业付款到微信账号
 */
public interface SgsWithdrawService {

    /**
     * 使用微信接口开发提现到微信
     */
    SgsResultResponse<Map<String, String>> withDrawWithWxTools(SgsWithdrawRequest sgsWithdrawRequest);

    /**
     * 使用微信接口开发提现到银行卡
     */
    SgsResultResponse<Map<String, String>> withDrawToBank(SgsWithdrawRequest sgsWithdrawRequest);


    /**
     * 提现记录分页查询
     * @param request
     * @return
     */
    SgsResultResponse<MchWithdrawQueryPageResult> queryMerchantWithdrawRecordPage(SgsMchWithdrawQueryPageRequest request);


    /**
     * 付款状态轮询
     */
    void checkEntBankPayOrder();

}
